// 以下是业务服务器API地址
// 本机开发时使用
//  var WxApiRoot = 'http://localhost:8081/wx/';
// 局域网测试使用
var WxApiRoot = 'http://192.168.1.249:8081/wx/';
// 云平台上线时使用
// var WxApiRoot = 'https://wx.jqkjw.com/wx/';

module.exports = {

  AuthLoginByWeixin: WxApiRoot + 'auth/wechatAuthLogin', //微信授权登录
  changeLoginUser: WxApiRoot + 'auth/changeLoginUser', //切换用户
  getCompanyList:WxApiRoot + 'org/getCompanyByName.kcppc', //获取当前用户客户列表
  getCompanyUserList:WxApiRoot+ 'org/getCompanyUserList.kcppc', //获取用户人员基本信息
  bindUnionid:WxApiRoot +'auth/bindUnionid', //绑定unionId,

  AuthLoginByAccount: WxApiRoot + 'auth/login', //账号登录
  AuthLogout: WxApiRoot + 'auth/logout', //账号登出

  // AuthRegister: WxApiRoot + 'auth/register', //账号注册
  // AuthReset: WxApiRoot + 'auth/reset', //账号密码重置
  // AuthRegisterCaptcha: WxApiRoot + 'auth/regCaptcha', //验证码
  // AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号
  // StorageUpload: WxApiRoot + 'storage/upload', //图片上传,
  // UserIndex: WxApiRoot + 'user/index', //个人页面用户相关信息
  // IssueList: WxApiRoot + 'issue/list', //帮助信息

  /** 知产管理 */
  getJqKnowledgeData: WxApiRoot + 'knowledge/getKnowledgePageData.kcppc', //获取知产管理首页数据
  getKnowledgeCaseList: WxApiRoot + 'knowledge/getKnowledgeCaseList.kcppc', //获取知产管理首页案件列表数据
  getCaseInfo: WxApiRoot + 'knowledge/getCaseInfo.kcppc', //获取案件详情数据
  getNoticeStepsByCaseNo: WxApiRoot + 'knowledge/getNoticeStepsByCaseNo.kcppc', //获取案件通知书步骤条数据
  getYearFeeListByCaseNo: WxApiRoot + 'knowledge/getYearFeeListByCaseNo.kcppc', //获取年费表格数据
  getNoticeListByCaseNo: WxApiRoot + 'knowledge/getNoticeListByCaseNo.kcppc', //获取官文管理页面数据
  previewDownload: WxApiRoot + 'knowledge/previewDownload.kcppc', //获取官文管理页面数据
  batchCompressNotice: WxApiRoot + 'knowledge/batchCompressNotice.kcppc', //批量打包官文
  downloadNoticeZip: WxApiRoot + 'knowledge/downloadNoticeZip.kcppc', //下载打包官文zip

  /** 高企测评 */
  isExistCompany: WxApiRoot + 'highevaluation/isExistCompany.kcppc', //判断企业是否存在
  getCompanyByName: WxApiRoot + 'highevaluation/getCompanyByName.kcppc', //查看系统中企业信息
  calculateGrowNumber: WxApiRoot + 'highevaluation/calculateGrowNumber.kcppc', //计算企业成长性得分
  submitHighEvaluationForm: WxApiRoot + 'highevaluation/submitHighEvaluationForm.kcppc', //提交高企测评form表单

  /** 项目进度 */
  getProjectPageData: WxApiRoot + 'projectprogress/getProjectPageData.kcppc', //获取项目进度页面数据
  getProjectList: WxApiRoot + 'projectprogress/getProjectList.kcppc', //获取项目进度页面项目list

  /** 政策匹配 */
  policyMatch: WxApiRoot + 'policymatch/getPolicyMatch.kcppc', //获取政策匹配报告数据
  judgeEnterpriseSize: WxApiRoot + 'policymatch/judgeEnterpriseSize.kcppc', //政策匹配判断企业规模
  accurateMatch: WxApiRoot + 'policymatch/accurateMatch.kcppc', //政策匹配精准匹配重新匹配
  getPolicyList: WxApiRoot + 'policymatch/getPolicyList.kcppc', //政策匹配获取政策list
  getPolicyDetail: WxApiRoot + 'policymatch/getPolicyDetail.kcppc', //政策匹配获取政策详情

  /** CRM */
  getCrmIndexData: WxApiRoot + 'crm/getCrmIndexData.kcppc', //获取CRM首页数据
  getCrmIndexDateOptions: WxApiRoot + 'crm/getCrmIndexDateOptions.kcppc', //获取CRM首页日期星期数据
  getCrmIndexTaskListData: WxApiRoot + 'crm/getCrmIndexTaskListData.kcppc', //获取CRM首页时间日期任务数据
  getCrmTaskList: WxApiRoot + 'crm/getCrmTaskList.kcppc', //获取本月任务类型list

};